package com.example.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author gengaoliu
 */
@Getter
@AllArgsConstructor
public enum ResultCode {
  /**
   * 返回结果
   */
  OK("200", "OK"),
  BAD_REQUEST("400", "Bad Request"),
  UNAUTHORIZED("401", "Unauthorized"),
  NOT_FOUND("404", "Not Found"),
  ERROR("500", "Error");
  private String value;
  private String desc;
}
